Skip to content

feat(pm): H72 lists unlisted mailbox knocks against the seat roster - #34235

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-9f3eba
Nov 16, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-9f3eba

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread
Part of #34013

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么: 半态巡查的信箱行(H72)现在每轮用已列出的在任座位贴与信箱开张读一次席位名册,交给同一个敲门读取器;签名会话不在所点名席位名册上的敲门(unlisted),在该信箱上多出一行只报告的巡查行,按评论 id 列出,告诉收信席位「这条不照办」。
  • 为什么改: 上一 PR 落了 listed/unlisted 读数,但巡查没带名册,unlisted 敲门没人被告知(卡上席位裁定的剩余项一)。
  • 风险与回滚: 只改 PM 工具两个脚本,产品包零改动、不发布;不新增任何请求(名册读自巡查已有的两份列表);名册读不全(列表触页上限)时整行不判、摘要写 NOT MEASURED,不会误报。回滚即 revert。
  • 先看: scripts/pm/check-half-states.mjs 的 h72UnlistedKnockLines 与 h72RosterListings,以及 sweep 里 H72 块的接线(mailboxEvents(rows, roster))。
  • 两分钟验证: node scripts/pm/check-half-states.mjs --self-test,预期结尾 H72 mailbox off-table bells 36/33、退出 0。
  • 需要你做的: 无,席位落地。剩余项二(卡线程会话是否入席位名册)未在本 PR 处理,见下文 Remainder,卡保持打开。

What changes

  • The roster, once per sweep. H72's sweep block now imports seatSessionRoster beside mailboxEvents (same lazy import) and reads the roster from the two listings the sweep already holds: the open pm:seat posts (SEEN_LABEL_PAGES) and the open pulls (H7's listing). No new request, and no second signature or roster parser in this file (pinned against the source above the self-test).
  • h72RosterListings(issues, pulls, truncated) (pure): hands the roster the pm:seat rows and the pulls, or null for a listing that noteOpenListing recorded as truncated at the page ceiling (or that is not an array). The roster reads null as unreadable, never as a smaller roster: a partial roster would read a knock from a seat whose post sat on an unread page as unlisted. The two listing names live in H72_ROSTER_LISTINGS and are pinned against the names the two listing functions record.
  • h72UnlistedKnockLines(reading, roster, nowMs) (pure): a second report-only H72 row on the mailbox PR, listing (up to five, then counting) the knocks inside the 24 h window whose signature reads unlisted, by comment id, author and the reader's reason. Remedy text: the seat the mailbox serves does not act on an unlisted knock (untrusted-text.md); the seat the signature names rings from a session it lists (--mailbox-keys prints the rule). A listed knock is a consistency reading, never proof, and is not listed. A maintainer's knock (not signature-checked) and a comment the author fence ignores are out.
  • Unjudged, never clean. A roster that was not read makes the reader fail closed, so every relay knock reads unlisted; this row then lists nothing and the sweep records mailboxRosterReason, which the H72 summary clause renders as Unlisted knock signatures: NOT MEASURED — …. The new key rides SWEEP_COUNT_KEYS.
  • The off-table row (h72OffTableMailboxLines) is unchanged and reads the same mailboxEvents(rows, roster) reading; its census does not move with the roster (pinned by fix(pm): a mailbox knock's signature must be a session the named seat lists #34071).
  • Band stays inventory; neither row is loud.

Tests

  • check-half-states.mjs H72 battery: 22 → 36 cases, floor raised 20 → 33. Both ways: an unlisted knock fires; listed, maintainer and unsigned readings do not; an unread roster (unreadable, null, no state) and an unread reading are unjudged; the window boundary (23h59m fires, 24h01m aged out, unreadable at fires); an off-table unlisted knock is named by both rows; the five-item cap; the text (no angle bracket, rule file, printout, never proof, report-only, no tracker number); not loud; the roster listings and their truncation; the truncation names against the listing functions' source; the sweep wiring against the source above the self-test; the summary clause in both states and the forwarding key.
  • record-recognisers.mjs knock-signature battery: 2 end-to-end rows. The REAL roster read through h72RosterListings (with a non-seat card and a non-mailbox pull mixed in) and the REAL reader: H72 lists the stray session's knock and not the listed knock, the maintainer's or the drive-by's. A truncated pm:seat listing makes the real roster unreadable, the reader reads both relay knocks unlisted, and H72 lists none.
  • Self-tests at 22ea9fe: check-half-states 5307 cases pass; record-recognisers 432 cases pass. No forced edits to existing tests.
Ablations — 3 legs, each red, each restored to the HEAD blob

All through scripts/ablation-replace.mjs (anchor hit 1, x1 to x0) at 22ea9fe; each restore proven by an empty git diff HEAD and blob e1e8c12b equal to HEAD.

leg mutation red cases
A1 drop the unread-roster guard in h72UnlistedKnockLines (roster === undefined only) 1 in check-half-states (unjudged roster), 1 in record-recognisers (truncated listing end-to-end)
A2 the sweep calls mailboxEvents(rows) without the roster 1 (wiring pin)
A3 h72RosterListings ignores a truncated pm:seat listing 1 in check-half-states (truncation), 1 in record-recognisers (truncated listing end-to-end)

A first A2 attempt was refused before any write (anchor ambiguous: it also matched the pin's own literal); it ran with the indented sweep line as the anchor.

Remainder (not in this PR — the card stays open)

  • Does a card-thread session named on a seat's newest Claim: belong on that seat's roster? Not done here, for a measured reason: there is no claim reader of a thread session on main to reuse. claimSessionId reads the FIRST session on the Session: line, deliberately the seat's; nothing reads Thread session:. The claim template in the pm-dispatch skill carries no such key, and live claims spell it at least three ways: a Thread session: line (the skills seats' claims), a second session in prose on the Session: line (a spec seat's), or not at all (a ui seat's claim for a card set; a server seat's subagent claim). Listing it would mint a new claim key and its reader. The options are in the card's os-dev-report.

Acceptance notes

  • No live census of today's unlisted knocks was taken: this card thread does not run the board sweep. The previous round's census (22 of 58 relay knocks unlisted on 2026-11-15) is the expected order of magnitude for the new row on the first sweeps.

Verification

Local gates at 22ea9fe — 69 derived, 69 run, 0 NOT-MEASURED (derived zero, exit codes recorded)

Every command node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack listed at 22ea9fe (2 paths vs merge base dfb8ed3), each exit 0 captured before any pipe, including pnpm check:pm-half-states, pnpm check:pm-record-recognisers, pnpm check:pm-dispatch-gates, pnpm check:pm-governed-merges and pnpm check:commit-card-trailers. pnpm check:i18n-coverage first exited 3 (its CLI and example build closure was not built in this container); after the turbo run build closure it names, under the verify lock (VERDICT command-exit 0, 73 of 73 tasks), it re-ran: exit 0 (14 configs, none new). --ran reconciliation: 69 run, 0 NOT-MEASURED (a DERIVED zero). test:repo was not run locally: the diff touches no vitest repo-project file. main moved to b51cb18 after the round; it touches neither file of this diff.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ADHkmPhHSUtdB95JSektb4

The H72 patrol now builds the seat roster once per sweep from the open
pm:seat posts and open pulls it already holds (seatSessionRoster, the one
roster reader), hands it to mailboxEvents, and pushes a second report-only
H72 row naming each knock whose signed session the seat it names does not
list. A listing truncated at the page ceiling reads as an unreadable roster:
the row goes unjudged and the summary renders NOT MEASURED.

Claude-Session: https://claude.ai/code/session_01ADHkmPhHSUtdB95JSektb4
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 16, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

席位核对

Verdict: ACCEPT · head 22ea9fe0b7c416c323858a69e2eedfc12a5294eb · card #34013 (p2, remainder) · os-dev-report 6905063882 · seat's own review of record (not governed: check-governed-merges --pr 34235, +134/−6; no contract face, so no L2 is owed) · read 2026-11-16T02:03Z.

  • Shape: draft → main, Part of #34013. Two files: scripts/pm/check-half-states.mjs (the H72 region, the summary clause, one count key, the sweep wiring, 13 self-test rows) and scripts/pm/record-recognisers.mjs (2 end-to-end rows). skip-changeset. Clause-②: no; Metadata-protocol: none.
  • What lands: the H72 sweep builds the seat roster once, from the open pm:seat posts and open pulls it already lists, through the existing seatSessionRoster. It passes the roster to the same mailboxEvents call. A second report-only H72 row lists the unlisted knocks inside 24 h by comment id. A truncated listing makes the roster unreadable, and then the row is UNJUDGED and the summary says NOT MEASURED. It adds no second signature or roster parser and no new request.
  • Seat read: the fail-closed branches are each pinned: an unreadable roster, a reading that is not read, and a truncated listing name. The wiring pin reads the source above the self-test, so it cannot match its own literal. listed is not reported as clean, which matches fix(pm): a mailbox knock's signature must be a session the named seat lists #34071's no-proof wording.
  • Gates: dev: 69 derived, 69 run, 0 NOT-MEASURED; self-tests 5307 / 432 pass; 3 ablations each red and restored. CI on this head: 55 check-runs complete, none failed.
  • Left on the card: remainder 2, whether a claim's Thread session: joins the seat roster. Main has no reader for that key, and claims spell it three ways. The report recommends a template key plus a single-key reader as its own step. The card stays open.
  • Landing: not governed. The seat lands it through the relay.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 16, 2026 02:03
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit babda9d Nov 16, 2026
56 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-9f3eba branch November 16, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants